# $Id: PKGBUILD 76194 2012-09-13 08:27:27Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Laurent Carlier <lordheavym@gmail.com>
# Contributor: DsTr <dstr@gmail.com>
# Contributor: Allan McRae <allan@archlinux.org>

pkgname=winetricks
pkgver=20120912
pkgrel=1
pkgdesc='Script to install various redistributable runtime libraries in Wine.'
url='http://wiki.winehq.org/winetricks'
license=('LGPL')
arch=('any')
optdepends=('zenity: GUI for GNOME desktop'
            'kdebase-kdialog: GUI for KDE desktop')
source=("winetricks-${pkgver}::http://www.winetricks.org/winetricks"
	http://winetricks.googlecode.com/svn-history/r532/trunk/src/winetricks.1)
md5sums=('f9b05806f393f55e809556103f219fbe'
         '0a2456fcacbca4c9db1e700d7b42207e')

package() {
  depends=('wine' 'cabextract' 'unzip' 'xorg-xmessage')

  install -Dm755 "${srcdir}/winetricks-${pkgver}" "${pkgdir}/usr/bin/winetricks"
  install -Dm644 "${srcdir}/winetricks.1" "${pkgdir}/usr/share/man/man1/winetricks.1"
}
